home *** CD-ROM | disk | FTP | other *** search
- >Doing the actual texture mapping should be easy, but figuring out were to
- >start in the texture, horizontally and vertically will be worse.
- Well, as far as I can remember, there are some data which tell you if the
- texture should be aligned on the top or the bottom of the wall pane. As for
- the horizontal position, I think it should depend on the actual position on
- the map, line or column, depending on which one has the largest slope for
- this wall, to give seamless walls. I'm almost sure doom does it this way.
-
- >The last changes I made to DVIEW (did I send that version to anyone?) was to
- I think I have this one. Do you put version numbers?
-
- >stop the player from entering a sector where the height difference was too
- >large. Disallowing crossing of walls has to be done in another way, but I've
- >not yet figured out exactly how I'll do it.
- Doom's way to do it must be very approximate, because sometimes, when you
- move along a wall, it seems like you bump on lines or columns, see what I
- mean? You move away, then closer, then away. It's not very smooth. You must
- have a table telling you all the objects that are contained in each square
- of a map (independant from ssectors). This table's initial state is in the
- WAD. The easiest way must be to check all the walls that are in the same
- square as you. The same algo will rule the behaviour of monsters,
- projectiles, etc.
-
- >The same DVIEW version can draw the walls it's considering in 2D with
- >different colours depending on when they're clipped. The map rotates when
- >you turn around so that 'up' is always in front of you. Looks really nifty!
- How do you bring that to the screen?
-
- >I'll try to get a screen dump of a really bad case for you.
- Yes, please do so. My mailer supports MIME.
-
- Bye for now.
-
- Bertrand
- +-----------------------------------------------------------+
- |Bertrand Le Roy |A Darwinian theory of Gravitation: |
- |bleroy@ccr.jussieu.fr|In the beginning, mature apples fell|
- |tel. 44.27.72.95 |in all directions. But only the trees|
- |fax. 44.27.72.87 |whose apples fell down have survived.|
- +-----------------------------------------------------------+
- |Laboratoire de Gravitation et Cosmologie Relativistes |
- |Universite Pierre et Marie Curie, tour 22-12, 4e etage |
- |4, place Jussieu, 75252 Paris Cedex 05 |
- +-----------------------------------------------------------+
-
-